// eslint-disable-next-line @typescript-eslint/naming-convention
export const VerifyConnect = (sourceAnchor: any, targetAnchor: any): boolean => {
  const condition01 = sourceAnchor.cfg.anchorType === 'output' && targetAnchor.cfg.anchorType === 'input';
  const condition02 = sourceAnchor.cfg.anchorType === 'executeExit' && targetAnchor.cfg.anchorType === 'executeEntry';
  const condition03 = sourceAnchor.cfg.anchorType === 'INIT_DU_OUT_POINT' && targetAnchor.cfg.anchorType === 'input';
  return condition01 || condition02 || condition03;
};
